/*年轻人，只管向前看，不要管自暴自弃者的话*/

import 'package:flutter/cupertino.dart';

///create by itz on 2024/1/17 14:03
///desc :
class MixinRouterContainer {
  Map<String, WidgetBuilder> installRouters() => {};

  Future<T?>? openPage<T>(BuildContext context, String pageName, {Map<dynamic, dynamic>? arguments}) {
    Map<String, dynamic> args = {'args': arguments};
    return Navigator.pushNamed(context, pageName, arguments: args);
  }
}
